package com.ant.storage.service;

import com.ant.storage.common.ResultVo;
import com.ant.storage.dto.InventoryDto;
import com.ant.storage.dto.WarehouseDto;
import com.ant.storage.pojo.Warehouse;
import com.ant.storage.vo.WarehouseAndCommodityVo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author melon
 * @since 2022-03-16
 */
public interface IWarehouseService extends IService<Warehouse> {

    PageInfo<Warehouse> getWarehousePage(WarehouseDto warehouseDto);

    Warehouse findWarehouseAccessRecord(WarehouseDto dto);

    List<Warehouse>  getWarehouseList(String cityId);

    ResultVo getWarehouseDeptList(WarehouseDto dto);

    Map<String,Object> getInventoryByWarehouseId(InventoryDto dto);

    Map<String,Object> getWarehouseListes(WarehouseDto dto);
}
